package com.zw.user;/*
 *@program:java-cloud-prevalence
 *@author:
 *@Time: 2022/12/6  16:34
 *@description: user-service  start
 */

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;

@SpringBootApplication
@MapperScan("com.zw.user.mapper")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.zw.api"})
@EnableWebSecurity
@EnableScheduling
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class,args);
    }
}
